/*** css rest ***/
body,p,h2 {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: #ccc;
}

img {
    vertical-align: top;
}

.clear {
    zoom: 1;
}

.clear:after {
    content: '';
    display: block;
    clear: both;
}


html, body {
    position: relative;
    height: 100%;
    font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", "FontAwesome", sans-serif;
}

body {
    font-size: 0.14rem;
}

#footer {
    position: absolute;
    bottom: 0;
    padding-top: 0.2rem;
    height: 0.98rem;
    width: 100%;
    background: #fefdfc;
    border-top: 0.02rem solid #f6f6f9;
    z-index: 2;
}

#footer a {
    float: left;
    width: 25%;
    color: #777777;
    font-size: 0.24rem;
    text-align: center;
}

#footer a.this {
    color: #c24c3b;
}

#footer i {
    display: block;
    height: 0.52rem;
    font-size: 0.50rem;
}

#wrap {
    position: absolute;
    top: 0;
    bottom: 1.2rem;
    width: 100%;
    background: #f7f7f7;
    z-index: 1;
    overflow: auto;
}

body {
    max-width: 12.8rem;
    margin: 0 auto;
}

.header {
    position: relative;
    width: 100%;
    
}

.header-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1rem;
    z-index: 2;
}

.menu {
    position: absolute;
    top: 0.44rem;
    left: 0.26rem;
    width: 0.34rem;
    height: 0.26rem;
    color: #fff;
    font-size: 0.36rem !important;
}
.message {
    position: absolute;
    width: 0.46rem;
    height: 0.44rem;
    top: 0.32rem;
    right: 0.2rem;
    color: #fff;
    font-size: 0.36rem !important;
}

.openSearchPanel {
    position: absolute;
    top: 0.16rem;
    left: 0.96rem;
    right: 0.96rem;
    height: 0.82rem;
    line-height: 0.5rem;
    border-radius: 0.41rem;
    opacity: 0.9;
    background: #fbeceb;
}

.openSearchPanel .search {
    display: inline-block;
    margin-left: 0.26rem;
    margin-top: 0.28rem;
    width: 0.3rem;
    height: 0.3rem;
    background: red;
}

.openSearchPanel span {
    color: #777777;
    font-size: 0.24rem;
    padding-left: 0.12rem;
    vertical-align: 14%;
}

.banner {
    width: 100%;
    overflow: hidden;
}

.banner .banner-imgs {
    position: relative;
}
.banner .banner-imgs a {
    position: absolute;
    float: left;
    width: 100%;
}
.banner .banner-imgs img {
    width: 100%;
}

.banner-mark {
    position: absolute;
    bottom: 0.24rem;
    width: 100%;
    text-align: center;
}
.banner-mark span {
    display: inline-block;
    width: 0.12rem;
    height: 0.12rem;
    border: 0.02rem solid #ccc;
    border-radius: 0.06rem;
    margin-left: 0.1rem;
    background-color: rgba(255, 255, 255, 0.5);
}

.banner-mark span.active {
    background-color: rgba(255, 86, 112, 0.5)
} 

.nav {
    padding: 0.34rem;
    background: #ffffff;
}

.icon {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.nav-item {
    float: left;
    width: 25%;
}

.nav-item i {
    display: block;
    margin: auto;
    width: 0.96rem;
    height: 0.96rem;
}

.nav-item i > img {
    width: 100%;
}

.nav-item p {
    font-size: .24rem;
    color: #222222;
    font-weight: bold;
    text-align: center;
}

.cate {
    background: #fff;
    margin-top: 0.18rem;
}

.cate-item {
    float: left;
    width: 50%;
    border: 0.01rem solid #f7f7f7;
    box-sizing: border-box;
    overflow: hidden;
}

.cate-item img {
    width: 100%;
}

.shop-title {
    height: 0.9rem;
    padding-top: 0.04rem;
    background-image: url(../img/beijing.png);
    background-repeat: no-repeat;
    background-size: cover;
}
.shop-title h2 {
    line-height: 0.84rem;
    text-align: center;
    font-size: 0.32rem;
    color: #444;
    font-weight: normal;
}

.shop-list {
    padding: 0 0.07rem;
    padding-bottom: 1.2rem;
    font-size: 0.28rem;
}

.shop-item {
    padding: 0 0.07rem;
    padding-bottom: 0.14rem;
    float: left;
    width: 50%;
    box-sizing: border-box;
    
}

.shop-wrap {
    background: #fff;
    padding-bottom: 0.28rem;
}

.shop-item .shop-item-pic {
    display: block;
}

.shop-item .shop-item-pic img {
    width: 100%;
}

.shop-item .shop-item-title {
    padding-left: 0.2rem;
    padding-top: 0.2rem;
    line-height: 0.48rem;
    height: 0.92rem
}

.shop-item .shop-item-price {
    color: #dd4b39;
    padding-left: 0.2rem;
    padding-top: 0.28rem;
}
